/**
 *Copyright 2016 shuqi
 *
 *Licensed under the Apache License, Version 2.0 (the "License");
 *you may not use this file except in compliance with the License.
 *You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 *Unless required by applicable law or agreed to in writing, software
 *distributed under the License is distributed on an "AS IS" BASIS,
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *See the License for the specific language governing permissions and
 *limitations under the License.
 */
package com.shuqi.hack;

import java.nio.charset.Charset;

/**
 * @author  shuqi
 * @date    2016年8月8日
 * @version since 1.0
 */
public class StandardCharsets {
    /**
     * Eight-bit UCS Transformation Format
     * JDK 1.7 使用（为了was环境兼容）
     * @see java.nio.charset.StandardCharsets#UTF_8
     */
    public static final Charset UTF_8 = Charset.forName("UTF-8");
    /**
     * Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the
     * Unicode character set
     * JDK 1.7 使用（为了was环境兼容）
     * @see java.nio.charset.StandardCharsets#US_ASCII
     */
    public static final Charset US_ASCII = Charset.forName("US-ASCII");
}
